import http from '../../api/http'
export function getTest(){
    return http.get('/user/test')
}
//修改商品
export function postproductinformation(data){
    return http.post('/shopmanage',data)
}
//删除商品
export function deleteshop(id){
    return http.delete('/deleteshop', {id})
}
//获取分页后台数据
export function getshopmannge(username){
    return http.get('/getmanageshop', {username})
}
//上架or下架商品
export function putitemstatus(id){
    return http.put('/shelvesshoportakedownshop', {id})
}
//更新信息为已读
export function putmessageyesorno(username){
    return http.put('/konwmessage', {username})
}
// //下架商品
// export function puttakedown(id){
//     return http.put('/takedownshop', {id})
// }
